package com.jf.bean;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:22954
 * Date:2024-11-07
 * Time:0:04
 */
public class Student {
    private Integer id;
    private String name;
    private Integer age;
    private String number;
    public Student() {}

    public Student(String name, Integer age, String number) {
        this.name = name;
        this.age = age;
        this.number = number;
    }

    public Student(Integer id, String name, Integer age, String number) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.number = number;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", number='" + number + '\'' +
                '}';
    }
}
